import request from '@/util/request'

export function getSystemHookDocument(data) {
  return request({
    url: '/iot/system/hook/document/get',
    method: 'post',
    data
  })
}

export function listSystemHook(data) {
  return request({
    url: '/iot/system/hook/list',
    method: 'post',
    data
  })
}

export function deleteSystemHook(data) {
  return request({
    url: '/iot/system/hook/delete',
    method: 'post',
    data
  })
}

export function updateSystemHook(data) {
  return request({
    url: '/iot/system/hook/update',
    method: 'post',
    data
  })
}

export function insertSystemHook(data) {
  return request({
    url: '/iot/system/hook/insert',
    method: 'post',
    data
  })
}

